﻿namespace Trading

open System

[<AutoOpen>]
module Operators = 
    let inline constant a _ = a
    let inline flip f x y = f y x
    let inline swap(x, y) = y, x
    let inline curry f = fun x y -> f(x, y) 
    let inline uncurry f = fun(x, y) -> f x y
    let inline undefined<'T> = raise<'T> <| NotImplementedException()

